AC_INIT([jot],[0.1],[brian.mabry.edwards@gmail.com])
AC_PREREQ([2.59])
AC_CONFIG_AUX_DIR(config)
# Every other copy of the package version number gets its value from here
AM_INIT_AUTOMAKE([foreign])
AC_PROG_CXX

AX_BOOST_BASE([1.33])

PKG_CHECK_MODULES([GTKMM], [gtkmm-2.4 >= 2.10.8])
AC_SUBST(GTKMM_CFLAGS)
AC_SUBST(GTKMM_LIBS)

PKG_CHECK_MODULES([GTKSOURCEVIEWMM], [libgtksourceviewmm-1.0 >= 0.3.0])
AC_SUBST(GTKSOURCEVIEWMM_CFLAGS)
AC_SUBST(GTKSOURCEVIEWMM_LIBS)

# create a config.h file (Automake will add -DHAVE_CONFIG_H)
AC_CONFIG_SRCDIR([src/jot.cc])
AC_CONFIG_HEADER([config.h])

AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT
